This chapter describes the Change management configuration commands. It includes the following sections:
To enter the change management configuration command environment, use the CONFIG boot command. When the device's software is initially loaded, it is running in the OPCON process, signified by the * prompt. From the * prompt:
To return to the CONFIG process, type exit.
This section describes the Change Management Configuration commands. Each command includes a description, syntax requirements, and an example. Table 18 summarizes the Change Management Configuration commands.
After accessing the Change Management Configuration environment, enter the
configuration commands at the Boot config> prompt.
Table 18. Change Management Configuration Commands
Command | Function |
---|---|
? (Help) | Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help". |
Add | Adds an optional description to a configuration file. |
Copy | Copies boot files and configuration files to or from banks. |
Describe | Displays information about the stored loadfile images. |
Erase | Erases a stored image or a configuration file. |
List | Displays information about configuration files and scheduled load information. |
Lock | Prevents the device from overwriting the selected configuration with any other configuration. |
Set | Selects code bank and configuration to be used. |
Tftp | Initiates TFTP file transfers between the IBM 8371 and remote servers. |
Unlock | Removes the lock from a configuration allowing the configuration to be updated by the device. |
Exit | Returns you to the previous command level. See "Exiting a Lower Level Environment". |
Use the add command to add an optional description to a configuration file.
Syntax:
Example: Boot config> add
+------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 01:26 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 00:30 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked Select the source bank: (A, B): [A] Select the source configuration: (1, 2): [1] 1 Enter the description of the file: () New config for today Attempting to set description for bank A configuration 1. Operation completed successfully. Boot config>list +------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | 01 Jan 1970 | | CONFIG 1 - AVAIL | test config for today | 01 Jan 1970 00:58 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked
Use the copy command to copy configuration files and load images to and from the banks.
Syntax:
Example:
Example: Boot config>copy
+------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - CORRUPT | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 01:26 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | | 01 Jan 1970 00:14 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked Select the source bank: (A, B): [A] Select the source configuration: (1, 2): [1] Select the destination bank: (A, B): [B] Select the destination configuration: (1, 2): [1] Copy SW configuration from: bank A, configuration 1 to: bank B, configuration 1. Operation completed successfully.
If the copy fails you may receive one of the following messages:
Use the describe command to display information about a stored image.
Syntax: describe
Example: Boot config>describe
+-------------------------+-------------------------+ | BANK A | BANK B | | Product ID - 8371 | Product ID - 8371 | | Version 4 Release 0 | Version 4 Release 0 | | Mod 0 PTF 0 | Mod 0 PTF 0 | | Feat. 2822 RPQ 0 | Feat. 2822 RPQ 0 | | Date 31 Dec 1996 | Date 31 Dec 1996 | +-------------------------+-------------------------+
Use the erase command to erase a configuration file.
Syntax:
Example: Boot config>erase configuration
+------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:26 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked Select the source bank: (A, B): [A] A Select the configuration to erase: (1, 2,): [1]2 Erase SW configuration file from bank A, configuration 2. Operation completed successfully. Boot config>list +------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:14 | | CONFIG 2 - NONE | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked
Notice that the list command displays NONE by bank A, config 2.
If the erasure fails, a message indicating the failure appears on the console with the banks that failed.
Use the list command to display information about which load images and configuration files are available and active. This command may also be used to display boot options and scheduled load information.
Syntax:
Example: Boot config>list
+------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - AVAIL | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 01:26 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-----------------+ * - Last Used Config L - Config File is Locked Boot config>
The possible file status descriptors are:
Use the lock command to prevent the device from overwriting the selected configuration with any other configuration.
Syntax:
Example: Boot config>lock
+------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | 01 Jan 1970 01:03 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:26 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked Select the source bank: (A, B): [A] Select the source configuration: (1, 2): [1] 2 Attempting to lock bank A and configuration 2. Operation completed successfully. Boot config>list +------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | 01 Jan 1970 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:13 | | CONFIG 2 - AVAIL L | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked
Note: | Note that bank A config 2 is marked with an "L." |
Use the set command to select the code bank and the configuration to use.
Syntax:
Example: Boot config>set
+------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | 01 Jan 1970 01:03 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:13 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked Select the source bank: (A, B): [A] b Select the source configuration: (1, 2, 3, 4): [1] 2 Select the duration to use for booting: (once, always): [always] Set SW to boot using bank B and configuration 2, always. Operation completed successfully. Boot config>list +------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | 01 Jan 1970 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:13 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - ACTIVE | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked
Use the tftp command to initiate TFTP file transfers between the 8371 and remote servers.
Syntax:
Example: Boot config>tftp get load
+------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | 01 Jan 1970 01:03 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:01 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked Specify the server IP address (dotted decimal): : [1.2.3.4] 192.9.200.1 Specify the remote file name: : (/u/bin) /usr/8371load/8371.img Select the destination bank: (A, B, F): [A] a TFTP SW load image get: /usr/8371load/8371.img from: 192.9.200.1 to: bank A. Operation completed successfully.
Notes:
When putting files to a server:
Use the unlock command to allow the device to overwrite the selected configuration that was previously locked.
Syntax:
Example: Boot config>unlock
+------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | 01 Jan 1970 01:03 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:13 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 00:01 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL L | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked Select the source bank: (A, B): [A] B Select the source configuration: (1, 2): [1] 2 Attempting to unlock bank B and configuration 2. Operation completed successfully. Boot config>list +------ BankA -----------+--------- Description ----------+------ Date -------+ | IMAGE - NONE | | | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:01 | | CONFIG 2 - AVAIL * | test config for pubs | 01 Jan 1970 01:13 | +------ BankB -----------+--------- Description ----------+------ Date -------+ | IMAGE - ACTIVE | | 01 Jan 1970 | | CONFIG 1 - AVAIL | test config for pubs | 01 Jan 1970 00:54 | | CONFIG 2 - AVAIL | | 01 Jan 1970 00:01 | +------------------------+--------------------------------+-------------------+ * - Last Used Config L - Config File is Locked
Note: | Note that bank A config 2 is no longer marked with an "L." |